package com.wn.user.feign;

import com.wn.common.entity.MyRsp;
import com.wn.common.entity.PhoneMsgEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @BelongsProject: shared_parking
 * @BelongsPackage: com.wn.user.feign
 * @Author: 廖刚
 * @CreateTime: 2020-06-12 11:16
 * @Description:
 */
@FeignClient(value = "message")
public interface MessageFeign {

    //发验证码的feign
    @PostMapping(value = "/sendPhoneMsg",consumes = "application/json",produces = "application/json")
    MyRsp sendPhoneMsg(PhoneMsgEntity phoneMsgEntity);



}
